Skip to content

Add GTM APIs.#5423

Merged
sergey-shandar merged 25 commits intoAzure:masterfrom
wilcobmsft:wilcob/gtm
Mar 25, 2019
Merged

Add GTM APIs.#5423
sergey-shandar merged 25 commits intoAzure:masterfrom
wilcobmsft:wilcob/gtm

Conversation

@wilcobmsft
Copy link
Copy Markdown
Member

@wilcobmsft wilcobmsft commented Mar 19, 2019

Latest improvements:

Adding GTM APIs. This is an aggregation of all the individual PRs that were sent over the past few months which were reviewed by ARM but marked as [do not merge]:

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Mar 19, 2019

Automation for azure-sdk-for-python

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-python#3853

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Mar 19, 2019

Automation for azure-sdk-for-js

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-js#1781

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Mar 19, 2019

Automation for azure-sdk-for-node

Encountered an unknown error: (azure-sdk-for-node)

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 172, in rest_handle_action
    return rest_pull_sync(body, restapi_repo, sdk_pr_target_repo, sdkbase, sdk_tag)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github.py", line 200, in rest_pull_sync
    rest_pr_management(rest_pr, sdk_pr_target_repo, sdk_tag, sdk_default_base)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
    sdk_tag=sdk_tag
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 255, in generate_sdk_from_git_object
    manage_git_folder(gh_token, clone_dir, branched_sdk_git_id) as sdk_folder:
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 272, in manage_git_folder
    clone_to_path(gh_token, temp_dir, split_git_id[0], branch_or_commit=branch, pr_number=pr_number)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 212, in clone_to_path
    repo.git.checkout(branch_or_commit)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 825, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git checkout master
  stderr: 'fatal: unable to create threaded lstat'

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Mar 19, 2019

Automation for azure-sdk-for-ruby

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-ruby#2360

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Mar 19, 2019

Automation for azure-sdk-for-java

The initial PR has been merged into your service PR:
Azure/azure-sdk-for-java#3207

@azuresdkci
Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

@AutorestCI
Copy link
Copy Markdown

AutorestCI commented Mar 19, 2019

Automation for azure-sdk-for-go

Encountered a Subprocess error: (azure-sdk-for-go)

Command: dep ensure
Finished with return code 1
and output:

grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export google.golang.org/api: failed to fetch source for https://code.googlesource.com/google-api-go-client: unable to get repository: Cloning into '/tmp/tmpsx_5h_rq/pkg/dep/sources/https---code.googlesource.com-google--api--go--client'...
error: cannot fork() for git-remote-https: No space left on device
: command failed: [git clone --recursive -v --progress https://code.googlesource.com/google-api-go-client /tmp/tmpsx_5h_rq/pkg/dep/sources/https---code.googlesource.com-google--api--go--client]: exit status 255

adxsdknet added a commit to adxsdknet/azure-sdk-for-net that referenced this pull request Mar 19, 2019
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit
@adxsdknet
Copy link
Copy Markdown

adxsdknet commented Mar 19, 2019

adxsdknet added a commit to adxsdknet/azure-sdk-for-net that referenced this pull request Mar 22, 2019
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit
@jhendrixMSFT
Copy link
Copy Markdown
Member

@AutorestCI regenerate azure-sdk-for-go

adxsdknet added a commit to adxsdknet/azure-sdk-for-net that referenced this pull request Mar 25, 2019
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit
adxsdknet added a commit to adxsdknet/azure-sdk-for-net that referenced this pull request Mar 25, 2019
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit
@wilcobmsft
Copy link
Copy Markdown
Member Author

The only failing check left at this point is due to an out-of-space error:

error: cannot fork() for git-remote-https: No space left on device

@majastrz
Copy link
Copy Markdown
Member

"/providers/Microsoft.Billing/listBillingAccountsWithCreateInvoiceSectionPermission": {

This API doesn't really conform to the ARM RPC. In which of the listed PRs was it approved?


Refers to: specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json:65 in e51d103. [](commit_id = e51d103, deletion_comment = False)

@wilcobmsft
Copy link
Copy Markdown
Member Author

@majastrz See #4484.

Copy link
Copy Markdown
Member

@majastrz majastrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signing off based on the provided summary of changes on top of the aggregation of signed off PRs. Next time, please create a separate branch and do all the incremental work there. It will speed up the review process.

@majastrz majastrz added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMReviewInProgress WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Mar 25, 2019
@wilcobmsft
Copy link
Copy Markdown
Member Author

@AutorestCI regenerate azure-sdk-for-go

@AutorestCI
Copy link
Copy Markdown

Encountered an unknown error

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 33, in exception_to_github
    yield context
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/bot_framework.py", line 105, in manage_comment
    response = getattr(self.handler, orderstr)(webhook_data.issue, *split_text)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/restbot.py", line 54, in regenerate
    return self.rebuild(issue, repotag)
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/restbot.py", line 36, in rebuild
    self.sdk_default_base
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/restapi/github_handler.py", line 151, in rest_pr_management
    sdk_tag=sdk_tag
  File "/usr/local/lib/python3.6/dist-packages/swaggertosdk/SwaggerToSdkNewCLI.py", line 254, in generate_sdk_from_git_object
    with manage_git_folder(gh_token, Path(temp_dir) / Path("rest"), branched_rest_api_id, pr_number=pr_number) as restapi_git_folder, \
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 272, in manage_git_folder
    clone_to_path(gh_token, temp_dir, split_git_id[0], branch_or_commit=branch, pr_number=pr_number)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/github_tools.py", line 200, in clone_to_path
    _git_clone_to_path(https_authenticated_url, folder)
  File "/usr/local/lib/python3.6/dist-packages/azure_devtools/ci_tools/git_tools.py", line 76, in clone_to_path
    repo = Repo.clone_from(https_authenticated_url, str(folder))
  File "/usr/local/lib/python3.6/dist-packages/git/repo/base.py", line 988, in clone_from
    return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/repo/base.py", line 933, in _clone
    v=True, universal_newlines=True, **add_progress(kwargs, git, progress))
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 548, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 1014, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/git/cmd.py", line 735, in execute
    **subprocess_kwargs
  File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1275, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 28] No space left on device

@sergey-shandar sergey-shandar merged commit d15714b into Azure:master Mar 25, 2019
dsgouda pushed a commit to Azure/azure-sdk-for-net that referenced this pull request Mar 26, 2019
* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit
mentat9 pushed a commit to mentat9/azure-sdk-for-net that referenced this pull request Jun 10, 2019
* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit

* .NET SDK Resource Provider:'Billing'
REST Spec PR 'Azure/azure-rest-api-specs#5423'
REST Spec PR Author 'wilcobmsft'
REST Spec PR Last commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants